projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3a3ed
)
mark flymake-mode as safe local variable when the value is nil
author
Sam Steingold
<sds@gnu.org>
Mon, 21 Aug 2017 13:50:09 +0000
(09:50 -0400)
committer
Sam Steingold
<sds@gnu.org>
Mon, 21 Aug 2017 13:50:09 +0000
(09:50 -0400)
lisp/progmodes/flymake-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake-ui.el
b/lisp/progmodes/flymake-ui.el
index 3fb1ecaa7f04858dd3f54755411e69cd2cca79d5..69f0c77a71ef4fe8f3741f33afbf420f61f1b1bf 100644
(file)
--- a/
lisp/progmodes/flymake-ui.el
+++ b/
lisp/progmodes/flymake-ui.el
@@
-517,6
+517,9
@@
For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'."
(setq flymake-is-running nil))))
+;; disabling flymake-mode is safe, enabling - not necessarily so
+(put 'flymake-mode 'safe-local-variable 'null)
+
;;;###autoload
(defun flymake-mode-on ()
"Turn flymake mode on."